home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 85 / CD Temático 40 Febrero 2004.iso / DOS / testdisk / src / lang.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-01-09  |  5.6 KB  |  103 lines

  1. /*
  2.  
  3.     File: lang.h
  4.  
  5.     Copyright (C) 1998-2004 Christophe GRENIER <grenier@cgsecurity.org>
  6.   
  7.     This software is free software; you can redistribute it and/or modify
  8.     it under the terms of the GNU General Public License as published by
  9.     the Free Software Foundation; either version 2 of the License, or
  10.     (at your option) any later version.
  11.   
  12.     This program is distributed in the hope that it will be useful,
  13.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.     GNU General Public License for more details.
  16.   
  17.     You should have received a copy of the GNU General Public License
  18.     along with this program; if not, write to the Free Software
  19.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  */
  22.  
  23. #define msg_CMDLINE       "TestDisk command line :"
  24. #define msg_DUMP_HEXA     "Dump Hexa\n"
  25. #define msg_READ_ERROR_AT "\nRead error at %u/%u/%u (lba=%lu)"
  26. #define c_YES           'Y'
  27. #define c_NO            'N'
  28. #define msg_TBL_NMARK     "\nPartition sector doesn't have the endmark 0xAA55\nRun \"MBR code\" in TestDisk to correct it\n"
  29. #define msg_TBL2_NMARK     "\nPartition sector doesn't have the endmark 0xAA55\n"
  30. #define msg_BAD_NMARK     "\nBoot sector doesn't have the endmark 0xAA55\n"
  31. #define msg_BAD_S_CYL     "\nBad starting cylinder"
  32. #define msg_BAD_S_HEAD    "\nBad starting head"
  33. #define msg_BAD_S_SECT    "\nBad starting sector"
  34. #define msg_BAD_E_CYL     "\nBad ending cylinder"
  35. #define msg_BAD_E_HEAD    "\nBad ending head"
  36. #define msg_BAD_E_SECT    "\nBad ending sector"
  37. #define msg_END_BFR_START "\nPartition end < start !"
  38. #define msg_BAD_RS        "\nBad relative sector."
  39. #define msg_BAD_SCOUNT    "\nBad sector count."
  40. #define msg_CHKFAT_RERR   "check_FAT: Read error\n"
  41. #define msg_CHKFAT_BAD_JUMP       "check_FAT: Bad jump in FAT partition\n"
  42. #define msg_CHKFAT_BYTESECT       "check_FAT: Incorrect number of bytes per sector\n"
  43. #define msg_CHKFAT_SECT_CLUSTER   "check_FAT: Bad number of sectors per cluster\n"
  44. #define msg_CHKFAT_SECTTRACK      "check_FAT: Incorrect number of sectors per track\n"
  45. #define msg_CHKFAT_SIDE   "check_FAT: Incorrect number of sides\n"
  46. #define msg_CHKFAT_NBRFAT "check_FAT: Bad number of FAT\n"
  47. #define msg_CHKFAT_ENTRY  "check_FAT: Bad number of entries in root dir\n"
  48. #define msg_CHKFAT_MEDIA  "check_FAT: Bad descriptor\n"
  49. #define msg_CHKFAT_SIZE   "check_FAT: Incorrect size of partition\n"
  50. #define msg_CHKFAT_RESERV "check_FAT: Incorrect number of reserved sectors\n"
  51. #define msg_CHKFAT_SECTPFAT "check_FAT: Incorrect number of sectors per FAT\n"
  52. #define msg_CHKFAT_BAD_HIDDEN "check_FAT: Incorrect number of hidden sectors\n"
  53. #define msg_CHKFAT_BADFAT32VERSION "check_FAT: Bad FAT32 version, should be 0.0\n"
  54. #define msg_PART_HEADER   "     Partition\t\t\t Start          End       Size\n"
  55. #define msg_PART_HEADER2   "    Partition\t\t      Start          End       Size\n"
  56. #define msg_PART_HEADER_WRITE   "     Partition\t\t\t Start          End       Size\n"
  57. #define msg_GOD_MODE      "\nGod mode\n\n     Partition\t\t\t     Start        End        Size"
  58. #define msg_PART_RD_ERR   "\nPartition : Read error\n"
  59. #define msg_PART_WR_ERR   "\nPartition : Write error\n"
  60. #define msg_ONLY_ONE_DOS  "Partition Table contains two or more Primary DOS FAT partitions\n"
  61. #define msg_ONLY_ONE_EXT  "Partition Table may contain only one Extended partition\n"
  62. #define msg_NO_OS2MB      "There are hidden partitions, but no OS2 MultiBoot.\n"
  63. #define msg_NO_BOOTABLE   "No partition is bootable\n"
  64. #define msg_ONLY1MUSTBOOT "Only one partition must be bootable\n"
  65. #define msg_SAME_SPACE    "Space conflict between the following two partitions\n"
  66. #define msg_LOG_ERR       "\nCan not create testdisk.log\n"
  67. #define msg_DISK        "Disk"
  68. #define msg_CHOOSE_PART_TYPE "Use arrow keys to change partition characteristics (see below)"
  69. #define msg_CHOOSE_PART_TYPE_END "Press the ENTER key to continue"
  70. #define msg_CHOICE        "\nChoice ? "
  71. #define msg_MALLOC_ERROR  "\nMemory allocation error"
  72. #define msg_FREE_ERROR    "\nFree memory allocation error"
  73. #define msg_WRITE_CLEAN_TABLE     "Clear MBR partition table by writing zero bytes to it? (Y/N) "
  74. #define msg_WRITE_MBR_CODE    "Write a new copy of MBR code to first sector? (Y/N) "
  75. #define msg_STRUCT_BAD    "Structure: Bad"
  76. #define msg_STRUCT_OK             "Structure: Ok "
  77. #define msg_MBR_ORDER             "MBR order - Use 1234 to change the order and ENTER to continue"
  78. #define msg_MBR_ORDER_GOOD        "Partitions order: Ok "
  79. #define msg_MBR_ORDER_BAD "Partitions order: Bad"
  80. #define msg_NO_EXT_PART   "\nNo extended partition"
  81. #define msg_ROOT_CLUSTER_RERR    "\nroot_cluster: read error"
  82. #define msg_Usage    "\nUsage: TestDisk [/log] [/debug] [/dump] [file or device]"\
  83.         "\n       TestDisk /list [/log] [file or device]" \
  84.         "\n" \
  85.         "\n/log          : create a testdisk.log file" \
  86.         "\n/debug        : add debug information" \
  87.         "\n/dump         : dump raw sectors" \
  88.         "\n/list         : display current partitions" \
  89.         "\n" \
  90.         "\nTestDisk checks and recovers lost partitions" \
  91.         "\nIt works with :" \
  92.         "\n- FAT12, FAT16 <32M, FAT16 >32M, FAT32" \
  93.         "\n- NTFS" \
  94.         "\n- LINUX ext2fs/ext3fs, LINUX swap" \
  95.         "\n- OS/2 MultiBoot (also used by Partition Magic)" \
  96.         "\n- BFS (BeOS)" \
  97.         "\n- UFS (BSD)" \
  98.         "\n- ReiserFS (1 & 2)" \
  99.         "\n" \
  100.         "\nIf you have problems with TestDisk or bug reports, please contacte me.\n"
  101. #define msg_Copyright    "TestDisk 5.1, Data Recovery Utility, January 2004\nChristophe GRENIER <grenier@cgsecurity.org>\nhttp://www.cgsecurity.org\n"
  102. #define msg_PART_TYPE "*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted"
  103.